home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / C.ARC / SREQ.H < prev    next >
Text File  |  1991-10-01  |  4KB  |  79 lines

  1. /*
  2. **  sreq.h (FrontDoor)
  3. **
  4. **  Structures of file created during an inbound service request
  5. **
  6. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved
  7. **
  8. **  Last revised: 91-10-02
  9. */
  10.  
  11. /*
  12. **  Nodelist capability bit values
  13. */
  14. #define CMFLAG      0x00000002L                                     /* "CM" */
  15. #define MOFLAG      0x00000004L                                     /* "MO" */
  16. #define HSTFLAG     0x00000008L                                    /* "HST" */
  17. #define H96FLAG     0x00000010L                                    /* "H96" */
  18. #define PEPFLAG     0x00000020L                                    /* "PEP" */
  19. #define MAXFLAG     0x00000040L                                    /* "MAX" */
  20. #define XXFLAG      0x00000080L                                     /* "XX" */
  21. #define XBFLAG      0x00000100L                                     /* "XB" */
  22. #define XRFLAG      0x00000200L                                     /* "XR" */
  23. #define XPFLAG      0x00000400L                                     /* "XP" */
  24. #define XWFLAG      0x00000800L                                     /* "XW" */
  25. #define MNPFLAG     0x00001000L                                    /* "MNP" */
  26. #define V29FLAG     0x00002000L                                    /* "V29" */
  27. #define V32FLAG     0x00004000L                                    /* "V32" */
  28. #define V33FLAG     0x00008000L                                    /* "V33" */
  29. #define V34FLAG     0x00010000L                                    /* "V34" */
  30. #define V42FLAG     0x00020000L                                    /* "V42" */
  31. #define XCFLAG      0x00040000L                                     /* "XC" */
  32. #define XAFLAG      0x00080000L                                     /* "XA" */
  33. #define V42bFLAG    0x00100000L                                   /* "V42B" */
  34. #define V32bFLAG    0x00200000L                                   /* "V32B" */
  35. #define CSPFLAG     0x00400000L                                    /* "CSP" */
  36.  
  37.  
  38. /*
  39. **  The resulting file is written as:
  40. **
  41. **  <_InfoRec>                  <See below>
  42. **  <NumValidEntriesInIDList>   <16-bit integer>
  43. **  <_RemoteID * 20>            <See below>
  44. **
  45. **  All char[] fields are Pascal style (ie. the first byte is the length
  46. **  byte and there is no terminating NUL character).
  47. */
  48. typedef struct
  49.     {
  50.     unsigned int    zone,                                            /* AKA */
  51.                     net,
  52.                     node,
  53.                     point;
  54.     unsigned char   denied;             /* Whether "DENY" is applied to AKA */
  55.     }
  56.     _RemoteID;
  57.  
  58. typedef struct
  59.     {
  60.     char            name[81],                                /* System name */
  61.                     operator[81],                        /* System operator */
  62.                     location[41],                        /* System location */
  63.                     phone[27],             /* System telephone number (raw) */
  64.                     domain[30];
  65.     unsigned int    baud;                    /* Maximum baud rate of system */
  66.     char            flags[52];             /* Nodelist flags (as presented) */
  67.     unsigned int    zone,    /* Primary AKA, same as first _RemoteID record */
  68.                     net,
  69.                     node,
  70.                     point;
  71.     unsigned long   capabilities;  /* Nodelist flags (as found in Nodelist) */
  72.     char            trx_num[11],                      /* Transaction number */
  73.                     serialnum[32],                         /* Serial number */
  74.                     password[18];                 /* Session level password */
  75.     }
  76.     _InfoRec;
  77.  
  78. /* end of file "sreq.h" */
  79.